package com.zxq.ai.domain.activity;

import com.zxq.ai.domain.enums.ActivityType;
import org.springframework.stereotype.Service;

@Service
public class ActivityFactory {

    public static Activity createActivity(ActivityType activityType) {
        switch (activityType) {
            case COLLECT_CARD:
                return CollectCardActivity.builder().build();
            default:
                throw new IllegalArgumentException("Unknown activityType: " + activityType);
        }
    }


}
